package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 工作总结对象 work_summary
 *
 * @author ruoyi
 * @date 2024-04-25
 */
public class WorkSummary extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id主键 */
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 用户名称 */
    @Excel(name = "用户名称")
    private String userName;

    /** 组织id */
    @Excel(name = "组织id")
    private Long deptId;

    /** 组织名称 */
    @Excel(name = "组织名称")
    private String deptName;

    /** 总结主题 */
    @Excel(name = "总结主题")
    private String summaryTheme;

    /** 总结时间 */
    @Excel(name = "总结时间")
    private String summaryTime;

    /** 总结类型（数据字典） */
    @Excel(name = "总结类型", readConverterExp = "数=据字典")
    private String summaryType;

    /** 总结内容 */
    @Excel(name = "总结内容")
    private String summaryContent;

    /** 附件地址 */
    @Excel(name = "附件地址")
    private String fileUrl;

    /** 删除标志（0删除 1存在） */
    private String delFlag;

    /** 创建者名字 */
    @Excel(name = "创建者名字")
    private String createName;

    /**
     *  分页页数
     */
    private Integer pageNum;

    /**
     *  分页条数
     */
    private Integer pageSize;

    private List<String> fileUrlList;

    private String startTime;

    private String endTime;

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public List<String> getFileUrlList() {
        return fileUrlList;
    }

    public void setFileUrlList(List<String> fileUrlList) {
        this.fileUrlList = fileUrlList;
    }

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setUserName(String userName)
    {
        this.userName = userName;
    }

    public String getUserName()
    {
        return userName;
    }
    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }
    public void setDeptName(String deptName)
    {
        this.deptName = deptName;
    }

    public String getDeptName()
    {
        return deptName;
    }
    public void setSummaryTheme(String summaryTheme)
    {
        this.summaryTheme = summaryTheme;
    }

    public String getSummaryTheme()
    {
        return summaryTheme;
    }
    public void setSummaryTime(String summaryTime)
    {
        this.summaryTime = summaryTime;
    }

    public String getSummaryTime()
    {
        return summaryTime;
    }
    public void setSummaryType(String summaryType)
    {
        this.summaryType = summaryType;
    }

    public String getSummaryType()
    {
        return summaryType;
    }
    public void setSummaryContent(String summaryContent)
    {
        this.summaryContent = summaryContent;
    }

    public String getSummaryContent()
    {
        return summaryContent;
    }
    public void setFileUrl(String fileUrl)
    {
        this.fileUrl = fileUrl;
    }

    public String getFileUrl()
    {
        return fileUrl;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }
    public void setCreateName(String createName)
    {
        this.createName = createName;
    }

    public String getCreateName()
    {
        return createName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("deptId", getDeptId())
            .append("deptName", getDeptName())
            .append("summaryTheme", getSummaryTheme())
            .append("summaryTime", getSummaryTime())
            .append("summaryType", getSummaryType())
            .append("summaryContent", getSummaryContent())
            .append("fileUrl", getFileUrl())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createName", getCreateName())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
